///@file
#pragma once

#include <cstdint>

void w25x_receive(uint8_t *buffer, uint32_t len);
uint8_t w25x_receive_byte(void);

void w25x_send(const uint8_t *buffer, uint32_t len);
void w25x_send_byte(uint8_t byte);

void w25x_set_error(int error);
